package com.madzone.wiki.gae.ds;

import java.io.IOException;
import java.io.InputStream;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Date;
import java.util.List;
import java.util.Properties;

import com.ecyrd.jspwiki.NoRequiredPropertyException;
import com.ecyrd.jspwiki.QueryItem;
import com.ecyrd.jspwiki.WikiEngine;
import com.ecyrd.jspwiki.WikiPage;
import com.ecyrd.jspwiki.attachment.Attachment;
import com.ecyrd.jspwiki.providers.ProviderException;
import com.ecyrd.jspwiki.providers.WikiAttachmentProvider;

public class GoogleDataStoreWikiAttachmentProvider implements
		WikiAttachmentProvider {

	@Override
	public void deleteAttachment(Attachment att) throws ProviderException {
		// TODO Auto-generated method stub

	}

	@Override
	public void deleteVersion(Attachment att) throws ProviderException {
		// TODO Auto-generated method stub

	}

	@Override
	public Collection findAttachments(QueryItem[] query) {
		// TODO Auto-generated method stub
		return new ArrayList();
	}

	@Override
	public InputStream getAttachmentData(Attachment att)
			throws ProviderException, IOException {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public Attachment getAttachmentInfo(WikiPage page, String name, int version)
			throws ProviderException {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public List getVersionHistory(Attachment att) {
		// TODO Auto-generated method stub
		return new ArrayList();
	}

	@Override
	public List listAllChanged(Date timestamp) throws ProviderException {
		// TODO Auto-generated method stub
		return new ArrayList();
	}

	@Override
	public Collection listAttachments(WikiPage page) throws ProviderException {
		// TODO Auto-generated method stub
		return new ArrayList();
	}

	@Override
	public void moveAttachmentsForPage(String oldParent, String newParent)
			throws ProviderException {
		// TODO Auto-generated method stub

	}

	@Override
	public void putAttachmentData(Attachment att, InputStream data)
			throws ProviderException, IOException {
		// TODO Auto-generated method stub

	}

	@Override
	public String getProviderInfo() {
		return "MADWiki - Google Data Store Attachment Provider";
	}

	@Override
	public void initialize(WikiEngine engine, Properties properties)
			throws NoRequiredPropertyException, IOException {
		// TODO Auto-generated method stub

	}

}
